package gui.utilities;

import java.util.logging.Formatter;
import java.util.logging.LogRecord;

public class LogsFormatter extends Formatter {

	@Override
	public String format(LogRecord record) {
		final String NL = System.getProperty("line.separator");
		StringBuffer buffer = new StringBuffer();
		buffer.append(record.getLevel());
		buffer.append(": ");
		buffer.append(record.getMessage());
		buffer.append(NL);
		return buffer.toString();
	}

}
